<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<div id="sitemap" class="content">
    <h2>Site Map</h2>
    <ul>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link forward="home">Home</html:link></h3>
        </li>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="analyTools">Generate Analysis Files</html:link></h3>
            <ul>
                <logic:present name="data_fullaccess">
                    <li><html:link action="export">Generate Analysis Files</html:link></li>
                    <li><html:link action="exportRaw">Generate Raw Genotype Analysis Files</html:link></li>
                </logic:present>

                <logic:notPresent name="data_fullaccess">
                    <li>
                        <html:link action="myDataRequests" title="My Data Requests">My Data Requests</html:link>
                    </li>
                    <li>
                        <html:link action="export2" title="Request Data File">Request Data File</html:link>
                    </li>
                </logic:notPresent>

                <logic:present name="data_owner">
                    <li>
                        <html:link action="dataRequestApprovals" title="Data Request Approvals">Data Request Approvals</html:link>
                    </li>
                </logic:present>
            </ul>
        </li>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="search">Search</html:link></h3>
            <ul>
                <li><a href="<html:rewrite action="search" />?searchSelect=1">Search: SNPs</a></li>
                <li><a href="<html:rewrite action="search" />?searchSelect=2">Search: Genes</a></li>
                <li><a href="<html:rewrite action="search" />?searchSelect=3">Search: KEGG Pathways</a></li>
            </ul>
        </li>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="association">Associations</html:link></h3>
        </li>
    </ul>
    <ul>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="makePathway">Make Pathway</html:link></h3>
        </li>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="myResults">My Results</html:link></h3>
        </li>
        <li class="left ui-widget-content ui-corner-all">
            <h3 class="ui-widget-header ui-corner-all"><html:link action="sitemap">Site Map</html:link></h3>
        </li>
        <logic:present name="data_fullaccess">
            <li class="left ui-widget-content ui-corner-all">
                <h3 class="ui-widget-header ui-corner-all"><html:link action="admin">Admin</html:link></h3>
            </li>
        </logic:present>
    </ul>
</div>
